package com.dgut.service;

import com.dgut.entity.SaleOrders;
import com.dgut.vo.OrderVO;

import java.util.List;

public interface SalesOrdersService {
    /**
     * 根据合同id查询订单
     *
     * @param contractId
     * @return
     */
    List<OrderVO> getOrdersByContractId(Long contractId);

    /**
     * 根据id查询订单
     *
     * @param id
     * @return
     */
    public SaleOrders getById(Long id);

    void updateById(SaleOrders orders);
}
